<?php
   function connex()
   {
	   $server="localhost";
	   $user="root";
	   $pass="";
	   $db="gsm";
	   mysql_connect($server, $user, $pass);
	   mysql_select_db($db);
   }
?>